<{include file="../Common/head.html"}>
<body>
	<table class="table">
		<tr>
			<td class="th" colspan="20">问题列表</td>
		</tr>
		<tr class="tableTop">
			<td class="tdLittle1">ID</td>
			<td>问题内容</td>
			<td>提问时间</td>
			<td>发表人</td>
			<td>回答人数</td>
			<td>悬赏金币</td>
			<td>操作</td>
		</tr>
		<tr>
		<{foreach from=$result item=v}>
			<td><{$v.asid}></td>
			<td><a href="<{$smarty.const.__ROOT__}>/index.php?c=show&asid=<{$v.asid}>"><{$v.content|substr:45}></a></td>
			<td><{$v.time|date_format:"%Y-%m-%d %H:%I:%S"}></td>
			<Td><a href="<{$smarty.const.__ROOT__}>/<{$smarty.const.APP_NAME}>.php?c=home&uid=<{$v.uid}>"><{$v.username}></a></Td>
			<td><{$v.answer}></td>
			<td><{$v.reward}></td>
			<td>
				<a href="<{$smarty.const.__APP__}>?c=ask&a=del&asid=<{$v.asid}>"  class="del">删除</a>
				
			</td>
		</tr>
		<{/foreach}>
	</table>
	<div class="page">
		共<{count($result)}>条 &nbsp
		<!--<a href="">1</a>-->
	</div>

</body>
</html>